<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html> 
    <head>  <title>Servlet 上传文件</title></head> 
    <body > 
      <form name="uploadAction" method="POST"  enctype="multipart/form-data"
        
        action="/rent2015/upload"> 
 
        Upload File1:<input type="file" name="upload" size="30"/> 
        <input type="submit" name="submit" value="上传"> 
        <input type="reset" name="reset" value="重置"> 
      </form> 
    </body> 
</html> 